/**
 *	Copyright (c) 1996-2010 Maxim Shklyar, kisla interactive, kisla.com 
 *	All rights reserved.
**/

package com.kisla.contr
{
	import flash.events.Event;


	public class ControlEvent extends Event {

		public static const NAV_CLICKED:String = "NAV_CLICKED";
		public static const NAV_NEXT:String = "NAV_NEXT";
		public static const NAV_PREV:String = "NAV_PREV";


		public var data:*;
		public var data2:*;


		public function ControlEvent( type:String, d:*=null, d2:*=null ) {
			super(type, true, false);
			this.data = d;
			this.data2 = d2;
		}

	}
}


//						root.dispatchEvent(new ControlEvent(ControlEvent.NAV_CLICKED, 3));
//						root.addEventListener(ControlEvent.NAV_CLICKED, set_nav);
